gtk4.git
7 years agonotebook: Notify the notebook page, not the child
Peter Bloomfield [Sun, 3 Mar 2019 23:21:10 +0000 (18:21 -0500)]
notebook: Notify the notebook page, not the child

Call g_object_notify() on the GtkNotebookPage, not the child GtkWidget.
Fixes some issues in !594.

7 years agowidget: Fix gtk_widget_pick() on 3d-transformed widgets
Benjamin Otte [Sun, 3 Mar 2019 18:40:32 +0000 (19:40 +0100)]
widget: Fix gtk_widget_pick() on 3d-transformed widgets

Picking is done by drawing a line along the parent's z axis and picking
at the intersection with the child's z=0 plane.

However, the previous code was casting a ray along the child's z axis.

This patch actually transforms the line to pick into the target's
coordinate system and then computes the corrrect intersection with the
z=0 plane.

Using graphene_point3d_interpolate() to compute the final intersection
point is a bit of abuse of that function, but I found no better way in
Graphene to achieve the same thing.

7 years agogtk-demo: Minimally fix the sarch entry demo
Matthias Clasen [Sun, 3 Mar 2019 17:42:20 +0000 (12:42 -0500)]
gtk-demo: Minimally fix the sarch entry demo

This was broken by the entry refactoring.

7 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 2 Mar 2019 19:57:57 +0000 (20:57 +0100)]
Updated Slovenian translation

7 years agoFix compile time warnings
Timm Bäder [Sat, 2 Mar 2019 04:28:55 +0000 (05:28 +0100)]
Fix compile time warnings

7 years agoa11y: Include gtktextaccesible.h in gtk-a11y.h
Timm Bäder [Sat, 2 Mar 2019 04:25:43 +0000 (05:25 +0100)]
a11y: Include gtktextaccesible.h in gtk-a11y.h

Closes #1710

7 years agoMerge branch 'redundant-editable-api' into 'master'
Emmanuele Bassi [Fri, 1 Mar 2019 12:23:26 +0000 (12:23 +0000)]
Merge branch 'redundant-editable-api' into 'master'

entry, spin button: Drop redundant API

See merge request GNOME/gtk!611

7 years agoentry, spin button: Drop redundant API
Matthias Clasen [Thu, 28 Feb 2019 19:31:36 +0000 (14:31 -0500)]
entry, spin button: Drop redundant API

Avoid duplicating GtkEditable APIs. Port existing users.

7 years agoroundedrect: Add gsk_rounded_rect_to_string
Timm Bäder [Thu, 28 Feb 2019 08:44:08 +0000 (09:44 +0100)]
roundedrect: Add gsk_rounded_rect_to_string

Keep it private for now, but it's very useful when debugging.

7 years agogl renderer: Change shadow cache eviction strategy
Timm Bäder [Thu, 28 Feb 2019 09:12:17 +0000 (10:12 +0100)]
gl renderer: Change shadow cache eviction strategy

Since we can do partial redraws, dropping every shadow that's been
unused for one frame happens too fast. This is also a problem when a
shadow gets drawn on a texture for a few frames.

7 years agogl renderer: Ignore nodes with nan bounds
Timm Bäder [Tue, 26 Feb 2019 05:49:59 +0000 (06:49 +0100)]
gl renderer: Ignore nodes with nan bounds

This can happen for certain transform nodes. The transform node's
child's bounds are fine, but the transform node bounds are all nan.
Just ignore those bounds since we can't meaningfully render them anyway.

7 years agotransformnode: Avoid matrix multiplication if we can
Timm Bäder [Tue, 26 Feb 2019 06:24:18 +0000 (07:24 +0100)]
transformnode: Avoid matrix multiplication if we can

If the given matrix is explicitly of category IDENTITY, we don't need to
do anything, and in the 2D_TRANSLATE case, just offset the child bounds.
Those are the two most common cases.

7 years agogl renderer: Add more nodes that support transforms
Timm Bäder [Tue, 26 Feb 2019 06:17:08 +0000 (07:17 +0100)]
gl renderer: Add more nodes that support transforms

7 years agoentry: Don't use the buffer directly
Matthias Clasen [Thu, 28 Feb 2019 04:47:39 +0000 (23:47 -0500)]
entry: Don't use the buffer directly

We want to be a wrapper of the GtkText, which in turn
wraps the GtkEntryBuffer. Not some weird mix.

7 years agotreeview: Stop using set_focus_child
Matthias Clasen [Thu, 28 Feb 2019 03:42:27 +0000 (22:42 -0500)]
treeview: Stop using set_focus_child

Do this with an event controller on the buttons instead.

7 years agoMerge branch 'alatiera/python3' into 'master'
Nirbheek Chauhan [Wed, 27 Feb 2019 14:46:22 +0000 (14:46 +0000)]
Merge branch 'alatiera/python3' into 'master'

build: Use python3 for the post install script

See merge request GNOME/gtk!608

7 years agobuild: use condense the mkdir calls to oneliners
Jordan Petridis [Tue, 26 Feb 2019 22:55:08 +0000 (00:55 +0200)]
build: use condense the mkdir calls to oneliners

7 years agobuild: no need to replace path separators
Jordan Petridis [Tue, 26 Feb 2019 22:51:55 +0000 (00:51 +0200)]
build: no need to replace path separators

Python APIs accept both `\` and `/` as path separators.

7 years agobuild: Use python3 for the post install script
Jordan Petridis [Mon, 25 Feb 2019 05:09:35 +0000 (07:09 +0200)]
build: Use python3 for the post install script

While *some* systems alias python to python3 nowdays, this is
not true for eveything. Especially systems that can potentially
offer both python2 and python3.

According to both PEP 394 and PEP 441 its recommended to always
add the 3 in the shebang.

7 years agoAdwaita: define insensitive links
Jakub Steiner [Wed, 27 Feb 2019 11:10:56 +0000 (12:10 +0100)]
Adwaita: define insensitive links

- tone down the disabled/insensitive links.

Fixes issue #1645

7 years agoxembed: Remove unused file
Benjamin Otte [Mon, 25 Feb 2019 06:58:32 +0000 (07:58 +0100)]
xembed: Remove unused file

7 years agowindow: Return no item for no item name
Benjamin Otte [Wed, 27 Feb 2019 06:29:57 +0000 (07:29 +0100)]
window: Return no item for no item name

7 years agowindow: Undo the deprection of gtk_window_present
Matthias Clasen [Tue, 26 Feb 2019 19:07:19 +0000 (14:07 -0500)]
window: Undo the deprection of gtk_window_present

After considerable discussion, we came to the conclusion
that the convenience of this API wins over the correctness
of gtk_window_present_with_time(), in particular since we
don't have a good mechanism to carry timestamps from the
events to the places where we present windows.

7 years agotestsuite: Stop using grab-focus as a keybinding signal
Matthias Clasen [Tue, 26 Feb 2019 13:16:48 +0000 (08:16 -0500)]
testsuite: Stop using grab-focus as a keybinding signal

We don't have that signal anymore.

7 years agowidget: Remove the ::grab-focus signal
Matthias Clasen [Tue, 26 Feb 2019 04:27:18 +0000 (23:27 -0500)]
widget: Remove the ::grab-focus signal

Nobody is connecting to this signal. And nobody
should.

7 years agocontainer: Remove the ::set-focus-child signal
Matthias Clasen [Tue, 26 Feb 2019 04:18:13 +0000 (23:18 -0500)]
container: Remove the ::set-focus-child signal

Nobody is connecting to this signal. And its
better that way.

7 years agoMerge branch 'wip/hadess/window-present-docs' into 'master'
Matthias Clasen [Mon, 25 Feb 2019 18:17:46 +0000 (18:17 +0000)]
Merge branch 'wip/hadess/window-present-docs' into 'master'

gtk_window_present() docs

See merge request GNOME/gtk!609

7 years agosurface: Advise using gtk_window_present_with_time()
Bastien Nocera [Wed, 25 Jul 2018 15:48:52 +0000 (17:48 +0200)]
surface: Advise using gtk_window_present_with_time()

Rather than gtk_window_present()

7 years agowindow: Warn when gtk_window_present_with_time() is passed 0
Bastien Nocera [Wed, 25 Jul 2018 15:43:02 +0000 (17:43 +0200)]
window: Warn when gtk_window_present_with_time() is passed 0

When 0 or GDK_CURRENT_TIME is passed to gtk_window_present_with_time(),
print a warning so that the application developer knows that this isn't
a supported use of the function, but carry on working for now.

7 years agoall: Don't warn about deprecated gtk_window_present usage
Bastien Nocera [Wed, 25 Jul 2018 15:42:26 +0000 (17:42 +0200)]
all: Don't warn about deprecated gtk_window_present usage

Avoid compilation warnings about internal users of gtk_window_present().

7 years agowindow: Deprecate gtk_window_present()
Bastien Nocera [Wed, 25 Jul 2018 15:18:55 +0000 (17:18 +0200)]
window: Deprecate gtk_window_present()

And expect gtk_window_present_with_time() to be used instead.

7 years agoAdd 4.0 deprecation warning macros
Bastien Nocera [Mon, 25 Feb 2019 16:31:14 +0000 (17:31 +0100)]
Add 4.0 deprecation warning macros

Note that functions deprecated in 4.0 will cause deprecation warnings
even with the pre-4.0 GTK development versions.

7 years agoentry: Make placeholder-text work again
Matthias Clasen [Mon, 25 Feb 2019 14:21:56 +0000 (09:21 -0500)]
entry: Make placeholder-text work again

7 years agogl renderer: Remove GskRoundedRect initializaion
Timm Bäder [Sat, 23 Feb 2019 15:59:46 +0000 (16:59 +0100)]
gl renderer: Remove GskRoundedRect initializaion

7 years agogl renderer: Partially implement rounded rect intersection
Timm Bäder [Sun, 24 Feb 2019 08:14:23 +0000 (09:14 +0100)]
gl renderer: Partially implement rounded rect intersection

Some rounded rect intersections can actually be done and even expressed
as a single rounded rectangle.

7 years agogl renderer: Add debug function to dump render node
Timm Bäder [Sun, 24 Feb 2019 08:09:02 +0000 (09:09 +0100)]
gl renderer: Add debug function to dump render node

7 years agocompare-render: Assert that no error has been set
Timm Bäder [Sat, 23 Feb 2019 06:57:12 +0000 (07:57 +0100)]
compare-render: Assert that no error has been set

Much better error message than just the one from the node != NULL
assertion in the next line.

7 years agogl renderer: Stop determining the matrix category ourselves
Timm Bäder [Sat, 23 Feb 2019 06:50:51 +0000 (07:50 +0100)]
gl renderer: Stop determining the matrix category ourselves

Use the category we get from transform nodes and add ops_ API to supply
one when we set a graphene_matrix_t directly.

7 years agodocs: Miscellaneous doc fixes
Matthias Clasen [Sun, 24 Feb 2019 20:29:08 +0000 (15:29 -0500)]
docs: Miscellaneous doc fixes

Additions and correction all over the place,
in GDK and GTK docs.

7 years agodocs: Remove some no-longer-existing api
Matthias Clasen [Sun, 24 Feb 2019 18:56:09 +0000 (13:56 -0500)]
docs: Remove some no-longer-existing api

7 years agodocs: Its just GTK now
Matthias Clasen [Sun, 24 Feb 2019 18:32:24 +0000 (13:32 -0500)]
docs: Its just GTK now

Another round of + removal.

7 years agoUpdate POTFILES.in
Piotr Drąg [Sun, 24 Feb 2019 15:59:47 +0000 (16:59 +0100)]
Update POTFILES.in

7 years agogdk: Rename our vulkan context to GTK
Matthias Clasen [Sun, 24 Feb 2019 15:53:23 +0000 (10:53 -0500)]
gdk: Rename our vulkan context to GTK

Not sure it shows up anywhere, but just for completeness.

7 years agodocs: Its just GTK now
Matthias Clasen [Sun, 24 Feb 2019 15:51:21 +0000 (10:51 -0500)]
docs: Its just GTK now

Remove the + from GTK+ in more places in the GDK docs.

7 years agodocs: Its just GTK now
Matthias Clasen [Sun, 24 Feb 2019 15:49:01 +0000 (10:49 -0500)]
docs: Its just GTK now

Remove the + from GTK+ in the GDK docs.

7 years agogitlab templates: Its just GTK now
Matthias Clasen [Sun, 24 Feb 2019 15:44:15 +0000 (10:44 -0500)]
gitlab templates: Its just GTK now

More plus purging.

7 years agodocs: Remove a mention of Gtkinvisible
Matthias Clasen [Sun, 24 Feb 2019 15:40:17 +0000 (10:40 -0500)]
docs: Remove a mention of Gtkinvisible

7 years agodocs: Some cosmetic fixups
Matthias Clasen [Sun, 24 Feb 2019 15:37:33 +0000 (10:37 -0500)]
docs: Some cosmetic fixups

Some leftover comments from the drawing model rewrite.

7 years agoRevert "inspector: Make picking work again"
Matthias Clasen [Sun, 24 Feb 2019 04:15:43 +0000 (23:15 -0500)]
Revert "inspector: Make picking work again"

This reverts commit 5dbfb18d115862b894ee0a8db3083b2c6863192b.

Inspector picking no longer requries this.

7 years agoDrop GtkInvisible
Matthias Clasen [Sun, 24 Feb 2019 04:14:29 +0000 (23:14 -0500)]
Drop GtkInvisible

It was already private, and the previous commit removed
the last use.

7 years agoinspector: Avoid grabs for inspecting
Matthias Clasen [Sun, 24 Feb 2019 04:06:00 +0000 (23:06 -0500)]
inspector: Avoid grabs for inspecting

Instead of using a grab on a GtkInvisible, use
a hook in the GTK event propagation machinery to
get events.

The only downside of this approach is that we
lose the crosshair cursor. But we get rid of
the last use of GtkInvisible.

7 years agonotebook: Document new apis
Matthias Clasen [Sun, 24 Feb 2019 04:26:59 +0000 (23:26 -0500)]
notebook: Document new apis

This silences gi build warnings.

7 years agotransform: Fix a wrong annotation
Matthias Clasen [Sun, 24 Feb 2019 04:21:32 +0000 (23:21 -0500)]
transform: Fix a wrong annotation

It is (out caller-allocates), not (out) (caller-allocates).

7 years agoMerge branch 'kill-register-surface' into 'master'
Matthias Clasen [Sun, 24 Feb 2019 03:46:04 +0000 (03:46 +0000)]
Merge branch 'kill-register-surface' into 'master'

Remove gdk_surface_set_user_data

See merge request GNOME/gtk!605

7 years agoRemove gdk_surface_set_user_data
Matthias Clasen [Sat, 23 Feb 2019 23:56:02 +0000 (18:56 -0500)]
Remove gdk_surface_set_user_data

Change gdk_surface_get/set_user_data to private
API and rename them to get/set_widget.
Also remove an unused associated function.

The last two places where the surface API is used
are in gtkroot.c and gtkwidget.c. Make them
use the private api.

7 years agogtk-demo: Stop using gdk_surface_get_user_data
Matthias Clasen [Sat, 23 Feb 2019 21:54:51 +0000 (16:54 -0500)]
gtk-demo: Stop using gdk_surface_get_user_data

Use gtk_root_get_for_surface instead.

7 years agoinspector: Stop using gdk_surface_get_user_data
Matthias Clasen [Sat, 23 Feb 2019 21:51:51 +0000 (16:51 -0500)]
inspector: Stop using gdk_surface_get_user_data

Use gtk_root_get_for_surface instead.

7 years agotooltip: Stop using gdk_surface_get_user_data
Matthias Clasen [Sat, 23 Feb 2019 21:55:20 +0000 (16:55 -0500)]
tooltip: Stop using gdk_surface_get_user_data

Use gtk_root_get_for_surface instead.

7 years agomain: Stop using gdk_surface_get_user_data
Matthias Clasen [Sat, 23 Feb 2019 21:53:19 +0000 (16:53 -0500)]
main: Stop using gdk_surface_get_user_data

Use gtk_root_get_for_surface instead.

7 years agoxim: Stop using gdk_surface_get_user_data
Matthias Clasen [Sat, 23 Feb 2019 21:52:51 +0000 (16:52 -0500)]
xim: Stop using gdk_surface_get_user_data

Use gtk_root_get_for_surface instead.

7 years agoime: Stop using gdk_surface_get_user_data
Matthias Clasen [Sat, 23 Feb 2019 21:52:23 +0000 (16:52 -0500)]
ime: Stop using gdk_surface_get_user_data

Use gtk_root_get_for_surface instead.

7 years agoAdd gtk_root_get_for_surface
Matthias Clasen [Sat, 23 Feb 2019 21:27:21 +0000 (16:27 -0500)]
Add gtk_root_get_for_surface

This is a replacement for gdk_surface_get_user_data.

7 years agoa11y tests: Update output for entries
Matthias Clasen [Sun, 24 Feb 2019 03:23:42 +0000 (22:23 -0500)]
a11y tests: Update output for entries

7 years agofixup: warn about nothing events
Matthias Clasen [Sun, 24 Feb 2019 02:24:00 +0000 (21:24 -0500)]
fixup: warn about nothing events

7 years agoinspector: Make picking work again
Matthias Clasen [Sat, 23 Feb 2019 23:23:42 +0000 (18:23 -0500)]
inspector: Make picking work again

This was broken by the change in 01f7f255b5 which
caused the inspector to not get any events anymore.
Revert that part, even though it may be technically
correct.

7 years agoQuietly ignore GDK_NOTHING events
Matthias Clasen [Sat, 23 Feb 2019 22:06:28 +0000 (17:06 -0500)]
Quietly ignore GDK_NOTHING events

These don't have a surface, so we can't deliver
them via the ::event signal. But then, they're
good for nothing anyway.

7 years agodocs: Refresh the "Q & A" part
Matthias Clasen [Sat, 23 Feb 2019 21:07:07 +0000 (16:07 -0500)]
docs: Refresh the "Q & A" part

Remove references to long-gone API, add some pointers
to more modern alternatives, etc.

7 years agogdk: Document surface signals
Matthias Clasen [Sat, 23 Feb 2019 20:31:22 +0000 (15:31 -0500)]
gdk: Document surface signals

At least a little bit.

7 years agoMerge branch 'drawing-model-refresh' into 'master'
Matthias Clasen [Sat, 23 Feb 2019 21:05:35 +0000 (21:05 +0000)]
Merge branch 'drawing-model-refresh' into 'master'

doc: Rewrite the drawing model overview

See merge request GNOME/gtk!603

7 years agodoc: Rewrite the drawing model overview
Matthias Clasen [Sat, 23 Feb 2019 17:51:35 +0000 (12:51 -0500)]
doc: Rewrite the drawing model overview

This is a first cut at updating the drawing model chapter
for the way we do things now. It introduces the scene graph and
render nodes, explains node caching and tree diffing, and removes
sections about subwindows.

7 years agoMerge branch 'event-signal' into 'master'
Benjamin Otte [Sat, 23 Feb 2019 19:33:51 +0000 (19:33 +0000)]
Merge branch 'event-signal' into 'master'

Drop gdk_event_handler_set

See merge request GNOME/gtk!604

7 years agoDrop gdk_event_handler_set
Matthias Clasen [Sat, 23 Feb 2019 18:56:51 +0000 (13:56 -0500)]
Drop gdk_event_handler_set

This is no longer used by GTK.

7 years agoDrop some dead code
Matthias Clasen [Sat, 23 Feb 2019 18:56:07 +0000 (13:56 -0500)]
Drop some dead code

There were some internal uses of GdkEventFunc. Thankfully,
they were unused, so lets just drop them.

7 years agoStop using gdk_event_handler_set
Matthias Clasen [Sat, 23 Feb 2019 18:51:54 +0000 (13:51 -0500)]
Stop using gdk_event_handler_set

We no longer need it.

7 years agowidget: Connect to GdkSurface::event
Matthias Clasen [Sat, 23 Feb 2019 18:49:28 +0000 (13:49 -0500)]
widget: Connect to GdkSurface::event

This lets us handle input events the same way
we do expose events.

7 years agosurface: Introduce an ::event signal
Matthias Clasen [Sat, 23 Feb 2019 18:45:10 +0000 (13:45 -0500)]
surface: Introduce an ::event signal

This will eventually replace the event handler
as the method to get events over the gdk/gtk
boundary.

7 years agoMerge branch 'kill-hierarchy-changed' into 'master'
Matthias Clasen [Sat, 23 Feb 2019 16:01:16 +0000 (16:01 +0000)]
Merge branch 'kill-hierarchy-changed' into 'master'

Kill hierarchy changed

See merge request GNOME/gtk!601

7 years agoDocument that root and unroot must chain up
Matthias Clasen [Sat, 23 Feb 2019 14:19:14 +0000 (09:19 -0500)]
Document that root and unroot must chain up

I overlooked this at first.

7 years agoDrop the anchored field
Matthias Clasen [Sat, 23 Feb 2019 06:38:14 +0000 (01:38 -0500)]
Drop the anchored field

We can just change priv->root instead.

7 years agowidget: Drop ::hierarchy-changed
Matthias Clasen [Sat, 23 Feb 2019 06:13:13 +0000 (01:13 -0500)]
widget: Drop ::hierarchy-changed

It is no longer used and has been replaced by the
root and unroot vfuncs.

7 years agogtk-demo: Stop using ::hierarchy-changed
Matthias Clasen [Sat, 23 Feb 2019 06:12:43 +0000 (01:12 -0500)]
gtk-demo: Stop using ::hierarchy-changed

We can use root and unroot instead.

7 years agomenu bar: Stop using ::hierarchy-changed
Matthias Clasen [Sat, 23 Feb 2019 06:06:57 +0000 (01:06 -0500)]
menu bar: Stop using ::hierarchy-changed

Use the root and unroot vfuncs instead.

7 years agolabel: Stop using ::hierarchy-changed
Matthias Clasen [Sat, 23 Feb 2019 06:03:23 +0000 (01:03 -0500)]
label: Stop using ::hierarchy-changed

Use the new root and unroot vfuncs instead.

7 years agoheader bar: Stop using ::hierarchy-changed
Matthias Clasen [Sat, 23 Feb 2019 06:02:55 +0000 (01:02 -0500)]
header bar: Stop using ::hierarchy-changed

Use the root and unroot vfuncs instead.

7 years agofile chooser: Stop using ::hierarchy-changed
Matthias Clasen [Sat, 23 Feb 2019 06:02:25 +0000 (01:02 -0500)]
file chooser: Stop using ::hierarchy-changed

Use the root and unroot vfuncs instead.

7 years agopopover: Stop using ::hierarchy-changed
Matthias Clasen [Sat, 23 Feb 2019 05:48:06 +0000 (00:48 -0500)]
popover: Stop using ::hierarchy-changed

Use notify::root instead.

7 years agotext handle: Stop using ::hierarchy-changed
Matthias Clasen [Sat, 23 Feb 2019 05:46:44 +0000 (00:46 -0500)]
text handle: Stop using ::hierarchy-changed

Use notify::root instead.

7 years agoxim: Stop using ::hierarchy-changed
Matthias Clasen [Sat, 23 Feb 2019 05:32:19 +0000 (00:32 -0500)]
xim: Stop using ::hierarchy-changed

Use notify::root instead.

7 years agoime: Stop using ::hierarchy-changed
Matthias Clasen [Sat, 23 Feb 2019 05:31:10 +0000 (00:31 -0500)]
ime: Stop using ::hierarchy-changed

We don't need it at all here.

7 years agodrag dest: Stop using ::hierarchy-changed
Matthias Clasen [Sat, 23 Feb 2019 05:30:32 +0000 (00:30 -0500)]
drag dest: Stop using ::hierarchy-changed

Use notify::root instead.

7 years agoinspector: Stop using ::hierarchy-changed
Matthias Clasen [Sat, 23 Feb 2019 05:29:52 +0000 (00:29 -0500)]
inspector: Stop using ::hierarchy-changed

Use the new root and unroot vfuncs instead.

7 years agogl renderer: Round size up when rendering to a texture
Timm Bäder [Sat, 23 Feb 2019 03:50:25 +0000 (04:50 +0100)]
gl renderer: Round size up when rendering to a texture

Both the clip we use and the viewport we set should contain the entire
texture size and not potentially clip the last pixel.

7 years agotreeview: Don't assume search widget is a GtkEntry
Timm Bäder [Sat, 23 Feb 2019 03:41:42 +0000 (04:41 +0100)]
treeview: Don't assume search widget is a GtkEntry

Maybe it's a GtkText!

7 years agoMerge branch 'wip/fanc999/meson.msvc' into 'master'
Chun-wei Fan [Sat, 23 Feb 2019 02:13:35 +0000 (02:13 +0000)]
Merge branch 'wip/fanc999/meson.msvc' into 'master'

GTK+ 4: Improve Windows/Visual Studio build experience

See merge request GNOME/gtk!185

7 years agowidget: Remove ::event leftovers
Matthias Clasen [Sat, 23 Feb 2019 01:06:06 +0000 (20:06 -0500)]
widget: Remove ::event leftovers

The signal is long gone, no need for this unused
vfunc anymore.

7 years agosearch/password entry: Prevent expand leaks
Matthias Clasen [Fri, 22 Feb 2019 20:55:05 +0000 (15:55 -0500)]
search/password entry: Prevent expand leaks

We don't want the entry to expand, we just want
the text to expand inside the box, so explicitly
unset expand flags on the box.

7 years agosearch entry: Use a GtkEntryAccessible
Matthias Clasen [Fri, 22 Feb 2019 20:50:45 +0000 (15:50 -0500)]
search entry: Use a GtkEntryAccessible

This preserves the status quo of a11y support
for entry variations.

7 years agoentry accessible: Make work with almost-entries
Matthias Clasen [Fri, 22 Feb 2019 20:49:47 +0000 (15:49 -0500)]
entry accessible: Make work with almost-entries

This is not perfect, but gives a quick way to have
an accessible that can be used for password and
search entries.

7 years agosearch entry: Don't force-create the accessible
Matthias Clasen [Fri, 22 Feb 2019 19:12:52 +0000 (14:12 -0500)]
search entry: Don't force-create the accessible

We can just set the accessible name when the
accessible is actually needed.

7 years agoinspector: Fix an uninitialized value warning
Timm Bäder [Fri, 22 Feb 2019 18:22:58 +0000 (19:22 +0100)]
inspector: Fix an uninitialized value warning